/*
 * @Descripttion: your project
 * @version: 1.0
 * @Author: hongweixun
 * @Date: 2023-06-16 08:47:37
 * @LastEditors: liyin 2179253556@qq.com
 * @LastEditTime: 2025-11-05 09:44:01
 */
// 引入请求方式
import { get,post } from '../../util/http'
// 声明请求得接口
export const getSchoolInfo = () => get('/SchoolUser/School/')
export const getPayListApi = (obj: any) => get('/Statistics/', obj)
export const getTimesApi = () => get('/Consume/TimeStamp')
// 设备信息
export const deviceInfo = () => get('/Consume/Bi/?mode=deviceInfo&ver=2&platform=admin')
// 今日设备消费量排名
export const todayDeviceRank = () => post('/Consume/Bi/?platform=admin&ver=2&mode=todayDeviceRank')
// 学部各餐次就餐统计
export const gradeMealtimeStatistic = () => post('/Consume/Bi/?platform=admin&ver=2&mode=gradeMealtimeStatistic')
// 学部各餐次就餐统计
export const facultyMealtimeStatistic = () => post('/Consume/Bi/?platform=admin&ver=2&mode=facultyMealtimeStatistic')
// 根据小时分组，单日学部学生就餐统计
export const todayFacultyPayUserCountByHour = () => post('/Consume/Bi/?platform=admin&ver=2&mode=todayFacultyPayUserCountByHour')
